﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Innova.Microfinanzas.BusinessEntities;

namespace MyCommerce.Presentation.GeneralParameters.IViews
{
    public delegate void OnEntityEventHandler(object sender, long id);    
    public delegate void OnSaveEventHandler(object sender, bool isNew);

    public interface ICommonClassifier
    {
        Classifier objClassifier { get; set; }
        List<Classifier> colClassifier { set; }
        List<ClassifierType> colClassifierType { set; }
        
        event EventHandler OnLoad;
        event OnSaveEventHandler OnSave;
        event OnEntityEventHandler OnEdit;
        event OnEntityEventHandler OnDelete;
    }
}
